<template>
  <span class="font_family" :class="props.haha"></span>
</template>
<script lang="ts" setup>
import { withDefaults } from 'vue'
const props = withDefaults(
  defineProps<{
    class?: string
    color?: string
    type?: number
    haha?: string
  }>(),
  {
    class: 'icon-a-8-1',
    color: 'green',
    type: 22,
    haha: 'icon-a-8-1',
  }
)
console.log(props)
</script>
